@(form: Form[(String, String)])(implicit lang: Lang)
@import controllers.MyHelpers._
@import fieldhelpers._

@main("Log On"){
<link rel="stylesheet" media="screen" href='@routes.Assets.at("stylesheets/logon.css")'/>
} {@(Nil)} {
<div class="row">
    <div class="span12">
        @form.globalError.map { error =>
        <div class="alert alert-error">
            @error.message
        </div>
        }
        <form method="POST" class="form-horizontal" action="@routes.Application.postLogOn()">
            <fieldset>
                <legend>Log On</legend>
                @inputEmail(form("email"))
                @helper.inputPassword(form("password"))
                <div class="form-actions">

                    <input type="submit" value="Log On" class="btn btn-primary"/>
                </div>
            </fieldset>
        </form>
    </div>
</div>
}